package com.mall.mapper;

import com.mall.pojo.details;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface detailMapper {
    @Select("SELECT * FROM details where goodId=#{id}")
    details getGoodDetails(int id);
}
